<%-- 
    Document   : geoconten2
    Created on : 09-jul-2013, 12:06:50
    Author     : romulogalindo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!--<!DOCTY PE html>-->
<html>
    <head>
        <c:set var="cname" value="c${param.id_frawor}"/>
        <c:set var="congeo" value="${sessionScope[cname]}" /> 

        <title>${fn:replace(sessionScope[cname].no_congeo, '<br>', ' ')} - ${CFG.no_system} </title>
        <link rel="shortcut icon" href="${pageContext.request.contextPath}/img/georeferencia.png">

        <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&region=es&language=ES&libraries=geometry"></script>
        <script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/maplabel/src/maplabel.js"></script>
        <script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.5/src/markerwithlabel.js"></script>
        <script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.5/src/markerwithlabel_packed.js"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/jquery-2.0.3.js"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/geo/Wg.js?n=0"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/geo/Rear.js?n=0"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/geo/wgutil.js?n=now"></script>
        <script type="text/javascript">
            var ID_FRAWOR = ${param.id_frawor};
            var CO_CONGEO = ${congeo.co_congeo};
            var ZOOM = ${congeo.nu_zoomap!=0?congeo.nu_zoomap:14}
            var JS = JSON.parse('${congeo.get_JSON()}');
            var p_latlng = "${not empty congeo.nu_latlng? congeo.nu_latlng:'-12.16263412211394;-76.94184830700681'}".split(";");
            var NO_CONGEO = '${congeo.no_congeo}';
        </script>
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/geo/geo.css"/>
    </head>
    <body onload="initialize();" style="margin: 0px;">
        <div id="wg_main">
            <div id="map_canvas" style="width: 100%; height: 100%"></div>
        </div>
    </body>
</html>
